package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * 极光账号对象 jpush_account
 *
 * @author ym
 * @date 2020-08-21
 */
@ApiModel("极光账号-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "jpush_account")
public class JpushAccountEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 用户id
	 */
	@ApiModelProperty("用户id")
	private Long userId;

	/**
	 * 云信账号
	 */
	@ApiModelProperty("云信账号")
	private String account;

	/**
	 * 创建时间
	 */
	@ApiModelProperty("创建时间")
	private Date createTime;

	/**
	 * 账号类型.01安卓02IOS
	 */
	@ApiModelProperty("账号类型.01安卓02IOS")
	private String type;

}
